package com.siwei.mes.mapper.laboratory;


import com.siwei.mes.common.dataSource.DataSource;
import com.siwei.mes.common.dataSource.DataSourceNames;
import com.siwei.mes.entity.laboratory.WtCurrent;
import com.siwei.mes.entity.laboratory.WtCurrentNew;
import org.apache.ibatis.annotations.Param;


public interface WTCurrentIdMapper {

    //新增上海协会数据值
    @DataSource(DataSourceNames.LABORATORY)
    public void addWtCurrentId(WtCurrent wtCurrent);

    //修改上海协会数据值
    @DataSource(DataSourceNames.LABORATORY)
    public void updateWtCurrentId(WtCurrent wtCurrent);

    //修改上海协会数据值
    @DataSource(DataSourceNames.LABORATORY)
    public void updateWtCurrentIdCurrentProduceId(WtCurrent wtCurrent);

    //查询上海协会数据值
    @DataSource(DataSourceNames.LABORATORY)
    public WtCurrent findWTCurrentId(@Param("yearStr") String yearStr);

    //查询上海协会数据值新
    @DataSource(DataSourceNames.LABORATORY)
    public WtCurrentNew findWTCurrentNewId(@Param("yearStr") String yearStr,@Param("itemId") String itemId);

    //新增上海协会数据值新
    @DataSource(DataSourceNames.LABORATORY)
    public void addWtCurrentIdNew(WtCurrentNew wtCurrent);

    //修改上海协会数据值新
    @DataSource(DataSourceNames.LABORATORY)
    public void updateWtCurrentNewId(WtCurrentNew wtCurrent);

}
